package com.cap12.config;

import com.cap12.bean.Moon;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@ComponentScan("com.cap12.processor")
@Configuration
public class Cap12MainConfig {
    @Bean
    public Moon getMoon() {
        return new Moon();
    }
}
